package com.jiezuo.auth.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jiezuo.auth.entity.Enterprise;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @description 企业管理
 * @author 庞留杰
 * @date 2020/08/26 14:37
 * @version V1.0
 **/
public interface EnterpriseMapper extends BaseMapper<Enterprise> {

    List<Enterprise> findList(@Param("page") Page page, @Param("entity") Enterprise enterprise);

    List<Enterprise> findList(@Param("entity") Enterprise enterprise);

    Enterprise findById(@Param("id") String id);

}
